package org.example.cotroller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class IndexController {
    @GetMapping("hello")
    public String hello(){
        return "你好刘正";
    }
    @GetMapping("index/name")
    public String m1(){
        return "这是一个网站";
    }
    @GetMapping("index/name1")
    public String m12(){
        return "这是一个网站666";
    }


}
